package cn.iocoder.yudao.module.asasc.controller.admin.campaign.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ASA应用配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AsaAppConfigPageReqVO extends PageParam {

    @Schema(description = "账户ID", example = "22241")
    private Long orgId;

    @Schema(description = "应用ID", example = "25411")
    private Long adamId;

    @Schema(description = "clientId", example = "27156")
    private String clientId;

    @Schema(description = "teamId", example = "25381")
    private String teamId;

    @Schema(description = "keyId", example = "24695")
    private String keyId;

    @Schema(description = "ASA 账户私钥")
    private String privacyKey;

    @Schema(description = "定时任务启用 1true 2false")
    private Integer jobEnable;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}